🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / feature / node / src / commonMain / kotlin / org / meshtastic / feature / node / detail / NodeRequestActions.kt
Displaying Raw • Download
feature/node/src/commonMain/kotlin/org/meshtastic/feature/node/detail/NodeRequestActions.kt 520fa717a938fd84682403b41f57d9f7e1ef49ef (520fa717) Text, 1.66 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.feature.node.detail
Tff7b72import T7ee787kotlinx.coroutines.CoroutineScope
Tff7b72import T7ee787kotlinx.coroutines.flow.StateFlow
Tff7b72import T7ee787org.meshtastic.core.model.Position
Tff7b72import T7ee787org.meshtastic.core.model.TelemetryType
T8b949e/** Interface for high-level node request actions (e.g., requesting user info, position, telemetry). */
Tff7b72interface T56d364NodeRequestActions Tb4b4b4{
Tff7b72val Te6edf3lastTracerouteTimeTb4b4b4: Te6edf3StateFlowTff7b72<Tffa657Long?Tff7b72>
Tff7b72val Te6edf3lastRequestNeighborTimesTb4b4b4: Te6edf3StateFlowTff7b72<Te6edf3MapTff7b72<Tffa657IntTb4b4b4, Tffa657LongTff7b72>Tff7b72>
Tff7b72fun Td2a8ffrequestUserInfoTb4b4b4(Te6edf3scopeTb4b4b4: Te6edf3CoroutineScopeTb4b4b4, Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4, Te6edf3longNameTb4b4b4: Tffa657StringTb4b4b4)
Tff7b72fun Td2a8ffrequestNeighborInfoTb4b4b4(Te6edf3scopeTb4b4b4: Te6edf3CoroutineScopeTb4b4b4, Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4, Te6edf3longNameTb4b4b4: Tffa657StringTb4b4b4)
Tff7b72fun Td2a8ffrequestPositionTb4b4b4(
Te6edf3scopeTb4b4b4: Te6edf3CoroutineScopeTb4b4b4,
Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4,
Te6edf3longNameTb4b4b4: Tffa657StringTb4b4b4,
Te6edf3positionTb4b4b4: Te6edf3Position Tff7b72= Te6edf3PositionTb4b4b4(T79c0ff0.0Tb4b4b4, T79c0ff0.0Tb4b4b4, T79c0ff0Tb4b4b4)Tb4b4b4,
Tb4b4b4)
Tff7b72fun Td2a8ffrequestTelemetryTb4b4b4(Te6edf3scopeTb4b4b4: Te6edf3CoroutineScopeTb4b4b4, Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4, Te6edf3longNameTb4b4b4: Tffa657StringTb4b4b4, Te6edf3typeTb4b4b4: Te6edf3TelemetryTypeTb4b4b4)
Tff7b72fun Td2a8ffrequestTracerouteTb4b4b4(Te6edf3scopeTb4b4b4: Te6edf3CoroutineScopeTb4b4b4, Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4, Te6edf3longNameTb4b4b4: Tffa657StringTb4b4b4)
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.08s